//
//  DataBase.h
//  Objc进阶Demo
//
//  Created by Don't update on 2018/7/27.
//  Copyright © 2018年 Don't update. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <sqlite3.h>
@interface DataBase : NSObject{
    sqlite3  *sqlite;
}

+(DataBase *)defaultDB;

-(BOOL)closeDB;
-(BOOL)createTable:(NSString *)tableName;
-(BOOL)deleteTableWithName:(NSString *)tableName;
-(BOOL)InsertDataWithTabel:(NSString *)tableName
                WithColums:(NSArray *)ColumsArr
                  WithData:(NSArray *)dataArr;
-(void)selectTableName:(NSString *)tableName;
@end
